package com.king01.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class StaffExVo {
    private Integer id;
    private Integer staffid;
    private String staffname;
    private Integer branchid;
    private Integer deptid;
    private Integer newbranchid;
    private Integer newdeptid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")  //接受请求参数的时间格式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") //把响应的日期json转为为相应的格式
    private Date applytime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")  //接受请求参数的时间格式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") //把响应的日期json转为为相应的格式
    private Date extime;
    private Integer applyid;
    private Integer exid;
    private Integer state;

    private String oldbranchname;
    private String newbranchname;

    private String olddeptname;
    private String newdeptname;
    private Integer roleid;


    private String shr;
    private String sqr;

}
